#!/usr/bin/env python
# -*- coding: utf-8 -*-

""" The application settings module. """

import os

cur_path = os.path.dirname(__file__)

# General
DEBUG = True
APP_DIR = 'application'
APP_PATH = os.path.join(cur_path, APP_DIR)
TEMPLATE_DIR = 'templates'
TEMPLATE_PATH = os.path.join(cur_path, APP_DIR, TEMPLATE_DIR)
CACHE_TIMEOUT = 3600
THUMBNAIL_URL = 'http://example.com/path/to/%s'

# Session
SESSION_COOKIE_NAME = 'GAEOSSID'
SESSION_COOKIE_NAME_LENGTH = 64
SESSION_COOKIE_TIMEOUT = 21600 # 6 hours
SESSION_COOKIE_PATH = '/'

# View
VIEW_CLASS = 'AppengineTemplateView'

#
TIMEZONE = 'CST'

# Google Storage
GS_BUCKET_NAME = ''
GS_ACCESS_KEY_ID = ''
GS_SECRET_ACCESS_KEY = ''
